<template>
	<view class="search-box">
	   <u-search :showAction="false" shape="square" height="76" placeholder="查找设备、电缆井、接头" v-model="keyword" @search="search" :animation="true" :clearabled="true"></u-search>
	</view>
</template>

<script>
	export default {
		props:{
			placeholder: String 
		},
		data(){
			return { 
				keyword:""
			}
		},
		methods:{
			search(value){
				console.log(this.keyword)
			},
			clear(){
				this.keyword="";
			}
		}
	}
</script>

<style scoped> 
	.search-box{
		padding: 0.5rem; 
	}
</style>